#ifndef __PHYSICENGINE_H__
#define __PHYSICENGINE_H__

#include <Box2D/Box2D.h>


class PhysicEngine
{
	public :
		static PhysicEngine& instance();
		
		b2World* world();
		void createWorld();
		void destroyWorld();
	
	private :
		PhysicEngine();
		~PhysicEngine();
		PhysicEngine(const PhysicEngine& pe);
		PhysicEngine& operator=(const PhysicEngine& pe);
		
		b2World *m_world;
};

#endif /* __PHYSICENGINE_H__ */

